home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 2
/
SPACE - Library 2 - Volume 1.iso
/
apps
/
25
/
applic
/
ncr8cmd.doc
< prev
next >
Wrap
Text File
|
1986-06-19
|
8KB
|
223 lines
USE & DOCUMENTATION FILE
FOR
CR8CMD
(12/30/85)
(ATARI 520ST VERSION 1.0B)
(Create a Mode & Option Command Sequence)
(to program the Panasonic KX-109X series of printers)
INTRODUCTION
The creation of this program was not just to create and add another printer
setup program to the already existing set of programs for this purpose. I
wanted to accomplish several things with this software. First, I had a need to
have a command program for the particular printer that I own. The Panasonic
KX-1091 has a number of features that are not available in the Epson RX/FX
series of printers as well as a number of options which are identical.
Although the set of options and modes I chose to use is just a subset of the
entire package, I found them to be the most often used in my own experience.
Secondly, I wanted a program which could be used to create very small command
set files of particular printer setups that could be easily appended into and
throughout a text file for printer changes. Lastly, I wanted a program that I
did not have to use BASIC to run the program with; I wanted it to stand alone.
The programming language used for this module was Digital Reasearch 'C'. The
program uses only one screen and all selections are made from the menu. This
program was originally written for the IBM-PC and MS-DOS. Both versions are
available in the Public Domain.
REQUIREMENTS
ATARI ST COMPUTER (68000 FAMILY) running under TOS
256K memory
1 single sided/dual density disk drive
monochrome or color monitor
Anticipating that other ST computers will become available, I have listed the
minimum requirements that are necessary to run this program and not necessarily
those for an ATARI 520ST computer. All video and keyboard processing is done
through the operating system or through calls to the BIOS.
TO KEEP COMPATIBILITY AS UNIVERSAL AS POSSIBLE, NO HARDWARE HAS BEEN DIRECTLY
ADDRESSED.
This program will not run properly in LOW RESOLUTION mode. There were just
too many items to fit on the screen menu to make it compatible with LOW RES.
It will run in monochrome or color. It has no other known or anticipated
requirements.
1
HOW TO USE 'CR8CMD'
After booting up the system insert the disk with CR8CMD.TOS on it into either
disk drive A or B (also may be run from RAMDISK) and proceed as follows:
1. Make sure the printer mode selection switch on the printer is in the
STANDARD (STD) position. If not, place the switch in that position, turn
power to the printer off and then back on to reset. ALSO REMEMBER TO PUT
THE PRINTER ON LINE IF IT IS NOT ALREADY THERE.
2. Using the mouse select the drive and the CR8CMD.TOS file.
Double-Click the mouse. The program should then load into memory and
the following will be displayed on the screen:
____________________________________________________________
| - C R 8 C M D - |
| |
| CREATE AND EXECUTE A SET OF PRINTER COMMAND SELECTIONS |
| PANASONIC KX-P1091 (EPSON SET + 1091 UNIQUE COMMANDS) |
| 11/15/85 ATARI 520ST VER. 1.0B MICHAEL ALBO |
| |
|_____________________ press 'Q' to quit ____________________|
SET PICA PITCH SET IBM-PC GRAPHIC SET 1
SET ELITE PITCH SET IBM-PC GRAPHIC SET 2
SET PROPORTIONAL PRINT SET DOUBLE PRINTING
SET COMPRESSED PRINT RELEASE DOUBLE PRINTING
RELEASE COMPRESSED PRINT SET NLQ PRINT
SET 1 LINE DOUBLE WIDE PRINT SET UNDERLINING
SET DOUBLE WIDTH PRINT RELEASE UNDERLINING
RELEASE ALL DOUBLE WIDE SETS SET EMPHASIS PRINT
RELEASE 1 LINE DOUBLE WIDE RELEASE EMPHASIS PRINT
SET SUPERSCRIPT MODE SET LINE SPACING 1/8 IN.
SET SUBSCRIPT MODE SET LINE SPACING 7/72 IN.
RELEASE SUB/SUPER MODE SET LINE SPACING 1/6 IN.
SET ITALIC (STANDARD ONLY)
RELEASE ITALIC (STANDARD)
* - SELECT space - DESELECT <- -> - MOVE CURSOR F - TO FILE S - SEND
2
4. After deciding which options are to be selected, use the cursor
movement keys to position the cursor in front of the selection(s) you
wish to make. Type a '*' to select an option or press the SPACE bar
to deselect an option. Once all the options you wish to choose have
been selected, the command string for these options can be sent
directly to the printer by pressing 'S'. If the command was
successful the following will be displayed:
Command Sent ...
If for some reason the command cannot be accepted by the printer an
error message will be displayed as follows:
Printer not available ...
At this point the program will return to the selection mode for
further option or menu selections.
5. A command string may also be sent to a file for later use (See
section 6 - HOW TO USE THE CREATED PRINTER COMMAND FILES). To send
the command string to a file simply make the selections you wish to
save or use the already selected ones and type 'F' for the file
command. A message similar to the folllowing will be
displayed:
Save command string under what filename
(press 'ESC' to cancel) ?
At this point you may enter any valid TOS filename for the file in
which the command string is to be saved. If you enter an 'ESC' key,
the file command will be aborted and the program will return to the
option selection mode.
If the command string cannot be saved in the file specified for any
reason, the file prompt will be erased and the following message will
be displayed:
Cannot open file: (filename)
At this point, or after a successful disk write the program will
return to the selection mode for further option or menu selections.
3
HOW TO USE THE CREATED PRINTER COMMAND FILES
Use of the printer command files can be done in several ways. One way is to
directly append them into text files at various points to modify the printout
of documents not set up in a word processor. They are however, not displayed
on the screen in this situation so be careful. Most commonly they can be used
as a means of setting up the printer before a file or other information is sent
to the printer. This is done by Double-Clicking with the mouse on the command
file you wish to use and selecting PRINT from the Gem dialog box displayed.
There are other ways also not described here but generally any method that will
send unmodified data to the printer should work.
CONCLUSION
I hope this little program can be useful to some of you. Please feel free to
comment or offer suggestions for any following versions. Leave any messages
with the Sixteen-Thirty-Two Atari Network (S.T.A.N.) (415) 552-8924
MICHAEL ALBO
SPOKANE, WASHINGTON
4